package com.interagriculture.entity.query;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * @author 10 2024/10/23
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserInfoQuery implements Serializable {
    private static final long serialVersionUID = -44478778920504655L;
    private Integer id;
    /**
     * 用户id，学生填学号
     */
    private Integer studentId;
    /**
     * 姓名
     */
    private String name;
    /**
     * 专业：物联网2022
     */
    private String specialty;
    /**
     * 邮箱
     */
    private String email;
    /**
     * 图片
     */
    private String picture;
    /**
     * 博客地址
     */
    private String blog;
    /**
     * 学习方向
     */
    private String direction;
    /**
     * 简介
     */
    private String briInfo;
    /**
     * 职位
     */
    private String position;
    /**
     * 成果数
     */
    private Integer achievementsNum;
    /**
     * 加入时间
     */
    private LocalDate attendTime;
    /**
     * 性别
     */
    private Integer sex;
    /**
     * 年级
     */
    private Integer grade;


    private Integer pageNum = 0;
    private Integer pageSize = 5;
    private String orderBy = "id desc";



}
